package com.itheima.day14;

import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.UnknownHostException;

public class iptext {
    public static void main(String[] args) throws UnknownHostException {
        InetAddress inet4Address = Inet4Address.getLocalHost();
        System.out.println(inet4Address);
    }
}
